package com.atguigu.dao;

import com.atguigu.pojo.TomcatAndHeartbeatServiceConfig;

import java.util.List;

public interface TomcatAndHeartbeatServiceConfigDao {
    //每个方法中都带有所操作类的名字,为了以后看到这个方法,就知道是干什么的
    public int addTomcatAndHeartbeatServiceConfig(TomcatAndHeartbeatServiceConfig tomcatAndHeartbeatServiceConfig);
    public int deleteTomcatAndHeartbeatServiceConfigById(String id);
    public int updateTomcatAndHeartbeatServiceConfig(TomcatAndHeartbeatServiceConfig tomcatAndHeartbeatServiceConfig);
    public TomcatAndHeartbeatServiceConfig queryTomcatAndHeartbeatServiceConfigById(String id);
    public List<TomcatAndHeartbeatServiceConfig> queryTomcatAndHeartbeatServiceConfigs();
    public TomcatAndHeartbeatServiceConfig queryTomcatAndHeartbeatServiceConfigByServiceId(String serviceId);
    public List<TomcatAndHeartbeatServiceConfig> queryTomcatAndHeartbeatServiceConfigsByProjectModuleId(String projectModuleId);
    public Integer queryForPageTotalCount();
    public List<TomcatAndHeartbeatServiceConfig> queryForPageItems(Integer begin, Integer pageSize);
}
